<template>
  <div>
    <Student></Student>
    <School></School>
  </div>
</template>

<script>
// 第一步：引入组件，其中在脚手架里面，后缀.vue写不写都可以
import Student from './components/Student.vue'
import School from "./components/School.vue";

export default {
  name: 'App',
  // 第二步：注册组件
  // components: {
  //   School,
  //   Student,
  // }
  // 使用对象写法
  components: {
    Student,
    School,
  },
  data() {
    return {
      msg: '欢迎学习Vue'
    }
  },

}
</script>

<style scoped>

</style>